home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9086 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Complex numbers
  5. Date: 7 Mar 1996 16:23:39 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4hnumbINNriq@keats.ugrad.cs.ubc.ca>
  8. References: <4hna9f$t7h@sunburst.ccs.yorku.ca>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4hna9f$t7h@sunburst.ccs.yorku.ca>,
  12. Naftali Sturm <yu114405@sunrise.ccs.yorku.ca> wrote:
  13. >What's a complex number
  14.  
  15. This is a question for sci.math! :) 
  16.  
  17. >                        and how are they represented in NORMAL c? 
  18.  
  19. I posted an earlier example about using a structure to represent complex
  20. numbers.
  21.  
  22. >oh. and what do they have to do with fractals?
  23.  
  24. Some functions computed in the complex plane are fractals. The functions could
  25. be as painfully simple as iterating the formula
  26.  
  27.     z = z^2 + c
  28.  
  29. that is, add to z the square of itself plus a constant, and repeat a given
  30. number of times.
  31.  
  32. Of course, z and c are complex numbers, and the squaring is done as a complex
  33. operation.
  34.  
  35.  
  36.  
  37. -- 
  38.  
  39.